package com.lagou.bean;

import com.lagou.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ComsumerComponet {
    @Reference
    private HelloService helloService;
    public String methodA(){
        return helloService.methodA();
    }
    public String methodB(){
        return helloService.methodB();
    }
    public String methodC(){
        return helloService.methodC();
    }
//    public String sayHello(String name){
//        return helloService.sayHello(name);
//    }
}
